﻿@{
    ViewBag.Title = "Create";
    Layout = "~/Areas/Admin/Views/Shared/_LayoutAdmin.cshtml";
}
@section head{
<script src="/js/pcasunzip.js" type="text/javascript" charset="gb2312"></script>
}

    <div class="mytopmodel" >
        新增模块：&nbsp;&nbsp;
    </div>

    <form method="post" id="myform" name="myform" action="@Url.Action("Create")">
        <div class="maindiv">
            <table cellspacing="1" id="editTable" cellpadding="3" style=" ">
                 <tr>
                <td class="text">登录名：</td>
                     <td class="control">
                         <input type="text" name="UserName" class="required error" remote='/admin/User/checkname/'></input> 

                     </td>
                                    <td rowspan="4" class="controlimg">
                            <input name="HeadPortrait" id="HeadPortrait" type="hidden" />
                            <a href="javascript:swfupload('@Url.Action("Index", "Upload")','img','HeadPortrait','HeadPortrait')"><img id="img" width="150" height="150" /></a>
                        
                    </td>
                </tr>
                <tr>
                    <td class="text">登录密码：</td>
                    <td class="control">
                       <input type="text" name="Password" class="required error"/>                          
                    </td>

                </tr>
                
               
                
                <tr>
                    <td class="text" >昵称：</td>
                    <td class="control"><input type="text" name="NickName" /> </td>
                </tr>
                
                <tr>
                    <td class="text" >用户类型：</td>
                    <td class="control" colspan="2">
                        <label><input name="Type" type="radio" value="@((int)Bids.Core.DomainObjects.UserType.设计师)" checked="checked"/>设计师</label>
                        <label> <input name="Type" type="radio" value="@((int)Bids.Core.DomainObjects.UserType.设计师)"/>雇主</label>
                    </td>
                </tr>

                 <tr>
                    <td class="text" >电话：</td>
                    <td class="control"><input type="text" name="Phone" /> </td>

                    

                </tr>

                <tr>
                    <td class="text" >年龄：</td>
                    <td class="control"><input type="text" name="Age"  ></input> </td>
                </tr>

                <tr>
                    <td class="text" >电子邮件：</td>
                    <td class="control"><input type="text" name="Email"  /> </td>
                </tr>

               

                <tr>
                    <td class="text" >地区：</td>
                    <td colspan="2"  class="control"><select name="Province"></select><select name="City"></select><select name="Areas"></select> </td>
                </tr>

                <tr>
                    <td class="text" >地址：</td>
                    <td colspan="2" class="control"><input type="text" name="Address" style=" width:300px; "  ></input> </td>
                </tr>

                

                
               <tr>
                    <td class="text" ></td>
                    <td colspan="2" class="control">
                       <input name="LevelNum" value="10" type="hidden" />
                       <input name="imgpath" id="imgpath" type="hidden" value="" />
                       <div class="impBtn hMargin fLeft shadow" ><input type="submit" value="提交" onclick="" class="save imgButton"></div>
                       <div class="impBtn hMargin fLeft shadow" ><input type="reset" value="清空" onclick="" class="reset imgButton"></div>
                       
                       <a href="javascript:history.back(-1)" >[&nbsp;返回&nbsp;] </a>                   </td>
                </tr>
            </table>
            
         
        </div>
        </form>

        <script language="javascript">

            new PCAS("Province", "City", "Areas");
           
        </script>